package cn.stylefeng.guns.modular.gridsystem.service;

import cn.stylefeng.guns.core.pojo.page.PageResult;
import cn.stylefeng.guns.modular.gridsystem.entity.BizFaultModel;
import cn.stylefeng.guns.modular.gridsystem.model.param.BizFaultModelParam;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * biz_fault_model 服务类
 *
 * @author ssy
 * @date 2021/11/01 16:44
 */
public interface BizFaultModelService extends IService<BizFaultModel> {

    /**
     * 分页查询biz_fault_model
     *
     * @author ssy
     * @date 2021/11/01 16:44
     */
    PageResult<BizFaultModel> page(BizFaultModelParam bizFaultModelParam);

    /**
     * 查询所有biz_fault_model
     *
     * @author ssy
     * @date 2021/11/01 16:44
     */
    List<BizFaultModel> list(BizFaultModelParam bizFaultModelParam);

    /**
     * 添加biz_fault_model
     *
     * @author ssy
     * @date 2021/11/01 16:44
     */
    void add(BizFaultModelParam bizFaultModelParam);

    /**
     * 删除biz_fault_model
     *
     * @author ssy
     * @date 2021/11/01 16:44
     */
    void delete(BizFaultModelParam bizFaultModelParam);

    /**
     * 编辑biz_fault_model
     *
     * @author ssy
     * @date 2021/11/01 16:44
     */
    void edit(BizFaultModelParam bizFaultModelParam);

    /**
     * 查看详情biz_fault_model
     *
     * @author ssy
     * @date 2021/11/01 16:44
     */
    BizFaultModel detail(BizFaultModelParam bizFaultModelParam);

    PageResult<Map<String,Object>> pageList(BizFaultModelParam param,Set<Integer> list);

    BizFaultModel getOneByAccessToken(String key);
}
